import * as ToolesTypes from '../action_types/onlineToolesTypes'

const initialStates = {
    // 在线工具
    name: '在线工具'
};
export default function onlineToolesReducer(state = initialStates, action) {
    switch (action.type) {
        case ToolesTypes.SWITCH_ONLINETOOLESPAGE:
            return { ...state, name: action.payload }
        default:
            return state;
    }
}   